﻿@model Nop.Plugin.Misc.TabManager.Models.TabSettingsViewModel
@using Nop.Web.Framework;
@using Nop.Core.Infrastructure;
@using Nop.Services.Configuration;
@{
    Layout = "_AdminLayout.cshtml";
}
<h2>Tab Manager- Configuraton<sub><a href="/TabManager/ManageTabs">Manage</a></sub></h2>
@using (Html.BeginForm())
{
    <table>
        <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.CacheMenuItems):</td>
            <td class="adminData">@Html.CheckBoxFor(model => model.CacheMenuItems)</td>
        </tr>
         <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.IncludeTopics):</td>
            <td class="adminData">@Html.CheckBoxFor(model => model.IncludeTopics)</td>
        </tr>
        <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.IncludeCategories):</td>
            <td class="adminData">@Html.CheckBoxFor(model => model.IncludeCategories) (future enhancement)</td>
        </tr>
       <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.TrackChangeHistory):</td>
            <td class="adminData">@Html.CheckBoxFor(model => model.TrackChangeHistory)</td>
        </tr>
        <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.UseKendoUIMenu):</td>
            <td class="adminData">@Html.CheckBoxFor(model => model.UseKendoUIMenu)</td>
        </tr>
        <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.MainMenuClass):</td>
            <td class="adminData">@Html.TextBoxFor(model => model.MainMenuClass)</td>
        </tr>
        <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.SubMenuContainerClass):</td>
            <td class="adminData">@Html.TextBoxFor(model => model.SubMenuContainerClass)</td>
        </tr>
        <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.SubMenuClass):</td>
            <td class="adminData">@Html.TextBoxFor(model => model.SubMenuClass)</td>
        </tr>
        <tr>
            <td class="adminTitle">@Html.NopLabelFor(model => model.MenuItemClass):</td>
            <td class="adminData">@Html.TextBoxFor(model => model.MenuItemClass)</td>
        </tr>
        <tr>
            <td colspan="2" width="100%"><input type="submit" name="save" class="t-button" value="@T("Admin.Common.Save")" /></td>
        </tr>
    </table>
}
<h4>Note: to add content via topics:</h4>
<ul>
    <li>log in as Administrator</li>
    <li>Goto Content Management > <a href="/Admin/Topic/List">Topics</a> </li>
    <li>Add or edit topic items </li>
    <li>Check the "PermanentRedirect" checkbox </li>
    <li>Set the Redirect URL to teh topic page URL ("/privacy-policy")</li>
</ul>
